#pragma once
#include<stdio.h>
#include<assert.h>
#include<string.h>
#include<stdlib.h>
#define MAX_NAME 10
#define MAX_ADDR 20
#define MAX_SEX 7
#define MAX_TELE 12
typedef struct contact
{
	char name[MAX_NAME];
	char addr[MAX_ADDR];
	char sex[MAX_SEX];
	char tele[MAX_TELE];
	int age;
}contact;
typedef struct addressing
{
	contact* pa;
	int sz;
}addressing;
void init(addressing* p);
void add(addressing* p);
void del(addressing* p);
void show(addressing con);
void find(addressing con);
void amend(addressing* p);
void empty(addressing* p);
void sort_name(addressing* p);